package codeine.version;

import static com.google.common.collect.Lists.newArrayList;

import java.util.List;


public class VersionItem
{

	private final String version;
	private List<String> nodes = newArrayList();

	public VersionItem(String version)
	{
		this.version = version;
	}

	public void add(String node)
	{
		nodes.add(node);	
	}

	public String version()
	{
		return version;
	}

	public int count()
	{
		return nodes.size();
	}
	
}
